﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Renci.iRods.Common;

namespace Renci.iRods.Data
{
    public class ObjectAudit : DataItem
    {
        [iRodsColumn(DataObjectAttributes.COL_AUDIT_OBJ_ID)]
        public long ID { get; internal set; }

        [iRodsColumn(DataObjectAttributes.COL_AUDIT_USER_ID)]
        public long UserID { get; internal set; }

        [iRodsColumn(DataObjectAttributes.COL_AUDIT_ACTION_ID)]
        public long ActionID { get; internal set; }

        [iRodsColumn(DataObjectAttributes.COL_AUDIT_COMMENT)]
        public string Comment { get; internal set; }

        [iRodsColumn(DataObjectAttributes.COL_AUDIT_CREATE_TIME)]
        public DateTime CreateTime { get; internal set; }

        [iRodsColumn(DataObjectAttributes.COL_AUDIT_MODIFY_TIME)]
        public DateTime ModifiedTime { get; internal set; }

        internal ObjectAudit(IRodsConnection connection)
            : base(connection)
        {

        }

        public override void Refresh()
        {
            throw new NotImplementedException();
        }

    }
}
